package com.beiming.libra.domain;

import javax.persistence.Column;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(value = "用户基本信息")
public class User extends BaseObject {

  /**
   * 用户登录名
   */
  @ApiModelProperty(value = "用户登录名")
  @Column(name = "login_name")
  private String loginName;

  /**
   * 手机号
   */
  @ApiModelProperty(value = "手机号")
  @Column(name = "mobile_phone")
  private String mobilePhone;

  /**
   * 密码
   */
  @ApiModelProperty(value = "密码")
  private String password;

  /**
   * 是否实名,默认否
   */
  @ApiModelProperty(value = "是否实名,默认否")
  @Column(name = "is_real_name")
  private String isRealName;

  /**
   * 用户类型
   */
  @ApiModelProperty(value = "用户类型")
  @Column(name = "user_type")
  private String userType;

}